package cn.zhaoyuening.leasecloud.common.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Buynow on 2017/6/30.
 * 消费明细 记录消费
 */
public class CastDetail implements Serializable{
    private Long id;
    private Mode mode;
    //使用时长
    private Integer time;
    //消费总额
    private Double total;
    //消费时间
    private Date date;

    public CastDetail(Long id, Mode mode, Integer time, Double total, Date date) {
        this.id = id;
        this.mode = mode;
        this.time = time;
        this.total = total;
        this.date = date;
    }

    public CastDetail() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Mode getMode() {
        return mode;
    }

    public void setMode(Mode mode) {
        this.mode = mode;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
